<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>『ThinkPHP管理平台』By ThinkPHP {$Think.version}</title>
    <link rel='stylesheet' type='text/css' href="{:$Theme['T']['root']}css/style.css">
    <base target="main" />
</head>
<body>
<!-- 头部区域 -->
<div id="header" class="header">
    <div class="headTitle" style="margin:8pt 10pt"> ThinkPHP管理平台 </div>
    <!-- 功能导航区 -->
    <div class="topmenu">
        <ul>
            <li><span><a href="#" onClick="sethighlight(0); parent.menu.location='__URL__/menu/title/后台首页';parent.main.location='__URL__/main/';return false;">后台首页</a></span></li>
            <volist name="nodeGroupList" id="tag">
                <li><span><a href="#" onClick="sethighlight({$i}); parent.menu.location='__URL__/menu/tag/{$key}/title/{$tag}';return false;">{$tag}</a></span></li>
            </volist>
        </ul>
    </div>
    <div class="nav">
        欢迎你！{$Think.session.loginUserName}
        <a href="{:C('DOMAIN_NAME')}" target="_blank">网站首页</a>
        <a href="__URL__/password/"><img src="{:$Theme['T']['root']}images/checked_out.png" width="16" height="16" border="0" alt="" align="absmiddle"> 修改密码</a>
        <a href="__URL__/profile/"><img SRC="{:$Theme['T']['root']}images/write.gif" WIDTH="17" HEIGHT="16" BORDER="0" ALT="" align="absmiddle"> 修改资料</a>
        <a href="__URL__/logout/" target="_top"><img SRC="{:$Theme['T']['root']}images/error.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT="" align="absmiddle"> 退 出</a>
    </div>
</div>
<script>
    function sethighlight(n) {
        var lis = document.getElementsByTagName('span');
        for(var i = 0; i < lis.length; i++) {
            lis[i].className = '';
        }
        lis[n].className = 'current';
    }
    sethighlight(0);
</script>
</body>
</html>